.class Lcom/waiqin365/lightwork/directory/ac;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 9

    const v8, 0x7f0805d3

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    const-string/jumbo v1, "input_method"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    invoke-virtual {v0}, Landroid/view/inputmethod/InputMethodManager;->isActive()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    invoke-virtual {v0, v1, v3}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->g:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v0

    sub-int v5, p3, v0

    new-instance v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/kehu/share/a/c;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/p;->a()Ljava/util/ArrayList;

    move-result-object v6

    invoke-virtual {v6, v5}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    const-string/jumbo v2, "1"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->v:Ljava/lang/String;

    invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    const-string/jumbo v2, "1"

    iput-object v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->v:Ljava/lang/String;

    :cond_1
    iget v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->w:I

    const/16 v4, 0xd

    if-eq v2, v4, :cond_2

    iget v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->w:I

    const/16 v4, 0xe

    if-ne v2, v4, :cond_3

    :cond_2
    :goto_0
    return-void

    :cond_3
    const-string/jumbo v2, "1"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->u:Ljava/lang/String;

    invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_e

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    if-nez v2, :cond_4

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    iput-object v4, v2, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    :cond_4
    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    if-eqz v2, :cond_5

    const-string/jumbo v2, "0"

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_7

    :cond_5
    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    move v2, v3

    move-object v4, v1

    :goto_1
    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_9

    iget-object v7, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v7, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    const-string/jumbo v4, "1"

    iput-object v4, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    move-object v4, v1

    :cond_6
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_1

    :cond_7
    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    move v2, v3

    move-object v4, v1

    :goto_2
    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_9

    iget-object v7, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v7, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_8

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    const-string/jumbo v4, "0"

    iput-object v4, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    move-object v4, v1

    :cond_8
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_2

    :cond_9
    invoke-virtual {v6, v5, v4}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, ""

    move v1, v3

    :goto_3
    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge v1, v2, :cond_a

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, ","

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    move-object v0, v2

    goto :goto_3

    :cond_a
    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_b

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v3, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    :cond_b
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_d

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-static {v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    if-nez v1, :cond_c

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    new-instance v2, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-direct {v2}, Lcom/waiqin365/lightapp/kehu/share/a/c;-><init>()V

    invoke-static {v1, v2}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->a(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;Lcom/waiqin365/lightapp/kehu/share/a/c;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    :goto_4
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-static {v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    iput-object v0, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-static {v0}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    const v2, 0x7f08025e

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v5, v5, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-static {v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :goto_5
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/p;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/directory/b/t;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/t;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->j:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-virtual {v2, v8}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_c
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-static {v2}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    goto/16 :goto_4

    :cond_d
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-static {v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->e(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->a(Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;Lcom/waiqin365/lightapp/kehu/share/a/c;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    goto :goto_5

    :cond_e
    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    if-eqz v1, :cond_f

    const-string/jumbo v1, "0"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_12

    :cond_f
    move v2, v3

    :goto_6
    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_11

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-eqz v0, :cond_10

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    if-eqz v4, :cond_10

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_10

    const-string/jumbo v4, "1"

    iput-object v4, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    invoke-virtual {v6, v2, v1}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    :cond_10
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_6

    :cond_11
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/directory/b/p;->notifyDataSetChanged()V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v1, v3, v0}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/directory/b/t;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/t;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->j:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-virtual {v2, v8}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_12
    move v2, v3

    :goto_7
    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_14

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-eqz v0, :cond_13

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iget-object v5, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_13

    const-string/jumbo v4, "0"

    iput-object v4, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->p:Ljava/lang/String;

    invoke-virtual {v6, v2, v1}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    :cond_13
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_7

    :cond_14
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->n:Lcom/waiqin365/lightwork/directory/b/p;

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/directory/b/p;->notifyDataSetChanged()V

    move v2, v3

    :goto_8
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_16

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_15

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    :cond_15
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_8

    :cond_16
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/directory/b/t;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->o:Lcom/waiqin365/lightwork/directory/b/t;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/t;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_17

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :cond_17
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->j:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    invoke-virtual {v2, v8}, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/ac;->a:Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/DirectorySelectMultiModeActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0
.end method
